package com.caesar.Single;

/**
 * @author caesar
 * @date 2025/7/21
 * @Description:
 * @apiNote
 */
public class TestSingleOne {
    public static void main(String[] args) {
        SingleOne s1 = SingleOne.INSTANCE;
        SingleOne s2 = SingleOne.INSTANCE;
        System.out.println(s1 == s2);//true比较地址值
    }
}
